﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TyNetCoreBlog.Helpers
{
    /// <summary>
    /// 常量类，提供一些固定常量
    /// </summary>
    public class Const
    {
        // md5加密的Salt盐
        public const string Md5EncryptSalt = "RG4NJIS2E7RHG";

        /// response content-type
        public const string RESPCONTENTTYPE = "application/json;charset=utf-8";

        // jwt用到的参数-----------------------------------------------------
        public const int ClockSkew = 10;
        public const string ValidAudience = "http://localhost:5000";
        public const string ValidIssuer = "听雨";
        public const string IssuerSigningKey = "U4lV5IvB1DfTOf2s0M6CGCWjiSctO8cgWtqWrocWoy57Mz5zvwEsqq88WA284sLq";
        public const int Expires = 60;
        public const string Email = "1186472484@qq.com";
        // ------------------------------------------------------------------
    }
}
